home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
422mods.zip
/
ROCKN01.422
< prev
next >
Wrap
Text File
|
1993-04-16
|
2KB
|
70 lines
ROCKN01.MOD, Hack of the YOURINFO.MOD, but for XFER Section
Rockn #36 @4506 2[47Thanatos2]0
Tue Apr 13 01:21:37 1993
ROCKN01.MOD
=============================================================================
Version: 4.22
Files: XFER.C
Discription: Spruces Up The Look Of Users Info In Files Section
Difficulty: If you can't do it you need to trash you compiler!
Author: Rockn #66@4516
Disclaimer: It works for me, But you installed it so it's your baby!
=============================================================================
BACKUP YOUR SOURCE
On to the mod, I have used ^C instead of the heart code so that everyone can
add colors to suit thier own needs.
In XFER.C look for void yourinfodl(void) which reads
void yourinfodl(void)
{
nl();
nl();
outstr(get_string(796))
npr("%ldk",thisuser.uk);
outstr(get_string(797))
npr("%d",thisuser.uploaded);
pl(get_string(798));
outstr(get_string(799));
npr("%ldk",thisuser.dk);
outstr(get_string(797));
npr("%d",thisuser.downloaded);
pl(get_string(798));
outstr(get_string(800)); npr("%6.3f\r\n",ratio());
outstr(get_string(801)); pln(thisuser.dsl);
nl();
}
Change it look like this
void yourinfodl(void)
{
nl();
npr("^CYour Xfer Info\r\n");
npr("^C╒════════════════════════════╕\r\n");
npr("^C│^CUploads : %ldk in %d Files ^C│\r\n",thisuser.uk,
thisuser.uploaded);
npr("^C│^CDownloads : %ldk in %d Files ^C│\r\n",thisuser.dk,
thisuser.downloaded);
npr("^C│^CRatio : %-14.3f^C│\4\n",ratio());
npr("^C│^CYour DSL : %-16d^C│\r\n",thisuser.dsl);
npr("^C╘════════════════════════════╛");
nl();
}
Now Recompile!
This is me VERY first mod, but I have to give credit where dredit is due.
I got the idea from another mod namely ( YOURINFO.MOD ) written by Alpine Bob
so if any of this looks fimilar don't panic.
2=========== 7<--(That is a divider line)--<<
1Alkar's Keep: (405)677-6159 2Over 1.5 gigs available!